<%@ page language="java" contentType="text/html; charset=UTF8" pageEncoding="UTF8"%>
<%@ page import="java.util.*" %>
<%@ page import="bcnet.service.PriceHistoryService" %>
<%@ page import="java.text.SimpleDateFormat" %>

<%
	String code = request.getParameter("code");

	if(code == null){
		
	}
	else {
		PriceHistoryService priceHistoryService = new PriceHistoryService();
		priceHistoryService.deleteCodeHistory(code);

		response.sendRedirect("index.jsp");
	}

%>
